﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Theme_Index_rptClkResource : System.Web.UI.UserControl
{
    PowerCreator.LMS.Web.Course.Resource opResource = new PowerCreator.LMS.Web.Course.Resource();
    protected void Page_Load(object sender, EventArgs e)
    {
        rptClickResource();
    }
    public void rptClickResource()//课件点击排行
    {
        string search = "";
        string orderBy = "ResourceClickNum desc";
        DataTable dt = opResource.QueryResource(search, orderBy, 6, 1);
        rptClkResource.DataSource = dt;
        rptClkResource.DataBind();

    }
}